export const getQuery = (url)=>{
    console.log(url);   
    let arr = url.split('/')
    console.log(arr[arr.length - 1]); 
    return arr[arr.length - 1];
    
}

export const getQuery1 = url => {
    let arr = url.split('/')
    return arr;
}
  
